package com.xk857.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户旅游中间表
 * </p>
 *
 * @author CV大魔王
 * @since 2021-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("school_tourism_user")
@ApiModel(value="TourismUser对象", description="用户旅游中间表")
public class TourismUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "旅游表id")
    private String couriterId;

    @ApiModelProperty(value = "报名人id")
    private String userId;

    @ApiModelProperty(value = "报名人昵称")
    private String nickName;

    @ApiModelProperty(value = "报名人学校")
    private String schoolName;

    @ApiModelProperty(value = "报名人联系方式")
    private String phone;

    @ApiModelProperty(value = "头像")
    private String userImg;

    @ApiModelProperty(value = "报名时间")
    private Date createTime;

    @ApiModelProperty(value = "0取消 1报名 2违约")
    private String status;


}
